try {
  const req = require.context('../assets/icons', true, /\.svg$/)
  const requireAll = (requireContext) => requireContext.keys().map(requireContext)
  requireAll(req)
} catch (error) {
  console.log(error)
}
